<!DOCTYPE html>
<html class="pixel-ratio-1" style="background-color: #f1f1f1;">

<head>
    <meta charset="utf-8" />
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
    <meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" />
    <meta name="viewport" content="width=375, user-scalabe=no">
    <meta http-equiv="pragma" content="no-cache" />
    <meta http-equiv="expires" content="0" />
    <script src="../../../../public/vendor/flexible/flexible.js"></script>
    <title>销售出库单分录 - 新增</title>
    <link rel="stylesheet" type="text/css" href="../../../../public/vendor/weui/weui.min.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/common.css" />
    <link rel="stylesheet" type="text/css" href="../../../../public/css/iconfont/iconfont.css" />
    <link rel="stylesheet" href="../../../../public/vendor/weui/jquery-weui.css">
    <link rel="stylesheet" href="../../../../public/vendor/select2/select2.css">
    <link rel="stylesheet" href="../../../../public/css/features/breedsales/deliverbills/entry.css">
    <style>
        .license-plate input {
            text-transform: uppercase;
        }
    </style>
</head>

<body>
    <div id="main-addsalesplan">
        <form id="saleordersentry-form">
            <div id="salesEntryTem">
                <p class="saleOrders-entry-message">基本信息</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    农&emsp;&emsp;场<span class="red-900 requirentry"
                                        style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="farmOrgId" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    养殖批次<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" id="breedBatchId" style="visibility: hidden;"
                                    disabled required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    物&emsp;&emsp;料<span class="red-900 requirentry"
                                        style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <input type="hidden" id="materialName" value="" />
                                <input type="hidden" id="materialNumCode" value="" />
                                <input type="hidden" id="baseMeasureUnit" value="" />
                                <input type="hidden" id="subMeasureUnit" value="" />
                                <select class="weui-select clearContent" style="visibility: hidden;" id="materialid"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    胎&emsp;&emsp;次<span class="red-900 requirentry" style="position:absolute;"></span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" style="visibility: hidden;" id="parity">
                                </select>
                            </span>
                        </div>
                    </div>
                    <!--<div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    耳&emsp;&emsp;号<span class="red-900 requirentry" style="position:absolute;"></span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent" style="visibility: hidden;" id="earNum" disabled>
                                </select>
                            </span>
                        </div>
                    </div>-->
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                            <span>
                                耳&emsp;&emsp;号</span>
                        </span>
                        </span>
                        <div class="weui-cell__bd reportLead" style="text-align: right;margin-right: 40px;" id="choose">
                            已选择:0个
                        </div>
                    </div>
                </div>

                <p class="saleOrders-entry-message">规格数量</p>
                <div class="report-contents-item-box" v-for="(item, index) in entries" :key="item.seq">
                    <div class="weui-cell weui-cell_select" style="padding: 15px;">
                        <div class="weui-cell_orgs" style="display: -webkit-flex;align-items: center;">
                            <span class="weui-cell__hd stycon selcon" style="padding-right: 10px">
                                <span>
                                    销售品类<span class="red-900 requirentry" style="position:absolute;">&nbsp;*</span>
                                </span>
                            </span>
                            <span class="weui-cell__ft">
                                <select class="weui-select clearContent " id="specLevel" style="visibility: hidden;"
                                    required>
                                </select>
                            </span>
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd">
                            <label class="weui-label">
                                数量(头)<span class="red-900">&nbsp;*</span>
                            </label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="count"
                                placeholder="请输入数量..." autocomplete="off">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd">
                            <label class="weui-label">
                                毛重(kg)<span class="red-900">&nbsp;*</span>
                            </label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent " type="number" id="grossWeight"
                                placeholder="请输入毛重...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">皮重(kg)<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent " type="number" id="tareWeight"
                                placeholder="请输入皮重...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd">
                            <label class="weui-label">
                                净重(kg)<span class="red-900">&nbsp;*</span>
                            </label>
                        </div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="weight"
                                placeholder="请输入净重..." autocomplete="off" readonly>
                        </div>
                    </div>
                    <!-- <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">辅助计量数量<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="subMeasuerCount"
                                placeholder="请输入辅助计量数量...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">基础计量单位<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="baseMeasureUnit"
                                placeholder="请输入基础计量单位...">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd"><label class="weui-label">辅助计量单位<span
                                    class="red-900">&nbsp;*</span></label></div>
                        <div class="weui-cell__bd">
                            <input class="weui-input clearContent" type="number" min="0" id="subMeasureUnit"
                                placeholder="请输入辅助计量单位...">
                        </div>
                    </div> -->
                </div>
                <p class="saleOrders-entry-message">运输信息</p>
                <div class="report-contents-item-box">
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd">
                            <label class="weui-label">
                                运输车牌<span class="red-900">&nbsp;*</span>
                            </label>
                        </div>
                        <div class="weui-cell__bd license-plate">
                            <input class="weui-input clearContent" type="text" id="carNo" placeholder="请输入运输车牌..."
                                autocomplete="off">
                        </div>
                    </div>
                    <div class="weui-cell" style="padding: 15px;">
                        <div class="weui-cell__hd">
                            <label class="weui-label">中转车牌<span class="red-900"></span></label>
                        </div>
                        <div class="weui-cell__bd license-plate">
                            <input class="weui-input clearContent" type="text" id="transferCarNo"
                                placeholder="请输入中转车牌..." autocomplete="off">
                        </div>
                    </div>

                    <div class="weui-cell" style="padding: 15px;" id="uploader">
                        <div class="weui-cell__bd">
                            <div class="weui-uploader">
                                <div class="weui-uploader__hd" style="text-align: left;">
                                    <p class="weui-uploader__title">附件</p>
                                    <div class="weui-uploader__info">
                                        <span id="uploadCount">{{uploadCount}}</span>/3
                                    </div>
                                </div>
                                <div class="weui-uploader__bd">
                                    <ul class="weui-uploader__files" id="uploaderFiles"></ul>
                                    <div class="weui-uploader__input-box">
                                        <input id="uploaderInput" class="weui-uploader__input" type="file"
                                            accept="image/*" />
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="report-contents-item-box operation ">
                <div class="weui-cell operation-child">
                    <a href="javascript:;" class="weui-btn weui-btn_default"
                        style="width: 38%;border-radius:8px;background-color: #fff;margin-left: 0px;"
                        id="returnMain">取消</a>
                    <a href="javascript:;" class="weui-btn weui-btn_primary"
                        style="width: 60%;border-radius:8px;margin-top: 0px;margin-right: 0px;" id="informationSubmit"
                        v-on:click="submit">保存</a>
                </div>
            </div>
        </form>
    </div>

    <!-- 汇报对象... -->
    <div id="report-contact" class="weui-popup__container" style="z-index:9999999">
        <div class="weui-popup__overlay"></div>
        <div class="weui-popup__modal">
            <!-- 你的内容放在这里... -->
            <div class="page" tabindex="-1" id="contact-auction">
                <div class="weui-search-bar" id="searchBar" style="position:fixed;top:0; width: 100%;z-index: 10;">
                    <div id="searchdiv" role="combobox" aria-haspopup="true" aria-expanded="false"
                        aria-owns="searchResult" class="weui-search-bar__form">
                        <form class="weui-search-bar__form">
                            <div class="weui-search-bar__box">
                                <i class="weui-icon-search"></i>
                                <!-- <div class="weui-search-bar__input" id="searchInput"></div> -->
                                <input type="search" aria-controls="searchResult"
                                    class="weui-search-bar__input ios-input-adjustment" id="searchInput"
                                    placeholder="请输入搜索条件..." required="">
                                <a href="javascript:" role="button" title="清除" class="weui-icon-clear" id="searchClear"
                                    wah-hotarea="touchend"></a>
                            </div>
                            <label for="searchInput" class="weui-search-bar__label" id="searchText"
                                wah-hotarea="touchend"
                                style="transform-origin: 0px 0px; opacity: 1; transform: scale(1, 1);">
                                <i class="weui-icon-search"></i>
                                <span aria-hidden="true">搜索</span>
                            </label>
                        </form>
                    </div>
                    <a href="javascript:" role="button" class="weui-search-bar__cancel-btn" id="searchCancel"
                        wah-hotarea="touchend">取消</a>
                </div>
                <div style="overflow-y: auto; margin-top: 40px; height: calc(100vh - 88px);" id="iscroll">
                    <div class="weui-cells weui-cells_checkbox" id="content">
                    </div>
                </div>
                <div class="weui-search-bar" style="position:fixed;
              bottom:0;width: 100%; text-align:right !important;z-index: 10; ">
                    <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_default weui-wa-hotarea"
                        id="cancelSub" style="margin-left: 0;padding: 5px 45px;">取消</a>
                    <a href="javascript:" role="button" class="weui-btn weui-btn_mini weui-btn_primary weui-wa-hotarea"
                        id="subEmployees" style="margin-right: 0;padding: 5px 45px;">确定(0)</a>
                </div>
            </div>
        </div>
    </div>

    <script type="text/javascript" src="../../../../public/vendor/jquery/jquery.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/vue/vue.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/moment/moment.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/weui.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/weui/jquery-weui.min.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/js/config/utils.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/select2.full.min.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/select2/i18n/zh-CN.js"></script>
    <script type="text/javascript" src="../../../../public/js/common/iosadaptation.js"></script>
    <script type="text/javascript" src="../../../../public/vendor/form-entries/form-entries.js"></script>
    <script type="module" src="../../../../public/js/features/breedsales/deliverbills/entry.js"></script>
</body>

</html>